@import "./address";
body {
    background: #F0F0F0;
}

.address-list {
    overflow: auto;
}

.address-info {
    padding: $pa;
    background-color: #fff;
    border-bottom: 1px solid $bor;
    position: relative;
    line-height: 1.7;
    display: block;
}

.order-info {
    margin-bottom: $pa;
    textarea {
        border: none;
        background: #f7f8f8;
        width: 100%;
        height: 75px;
        padding: $pa;
    }
    .body {
        padding-left: $pa;
    }
}

.line {
    height: $pa;
    background: #F0F0F0;
}

.order-pay {
    background: #fafafa;
    .item {
        align-items: center;
        position: relative;
        .body {
            span {
                width: 56px;
                display: block;
                margin-right: $pa;
            }
        }
        img {
            width: 38px;
        }
        input {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0;
            left: 0;
            top: 0;
            &+label {
                border: 1px solid $bor;
                border-radius: 100%;
                // background-size: 22px auto;
                // padding-left: 32px;
                width: 20px;
                height: 20px;
                display: block;
            }
            &:checked {
                +label {
                    &:after {
                        position: absolute;
                        top: 50%;
                        margin-left: 2px;
                        width: 14px;
                        height: 14px;
                        content: '';
                        transform: translate3d(0, -50%, 0);
                        border-radius: 100%;
                        background: $bg;
                    }
                }
            }
        }
    }
    .list {
        margin-top: $pa;
    }
    .li {
        background: #fff;
        border-top: 1px solid $bor;
        border-bottom: 1px solid $bor;
    }
}

// 优惠券
.coupon-list {
    background: #f5f5f4;
    .list {
        overflow: auto;
        padding: $pa;
        li {
            // border-top: 5px solid #EE7A77;
            margin-bottom: $pa;
            background: #fff;
            padding: 0 $pa;
            position: relative;
            text-align: right;
            background: url(../../img/mall/coupon-bg.png) no-repeat 0 10px #fff;
            background-size: 70px auto;
            &.valid{
                &:before {
                    position: absolute;
                    top: 0;
                    left: 0;
                    display: block;
                    width: 100%;
                    content: '';
                    background: url(../../img/mall/coupon-valid-bg.png);
                    height: 10px;
                    background-size: auto 100%;
                }
            }

            .price {
                font-style: 22px;
                color: $red;
                position: absolute;
                top: 42%;
                left: 10px;
                transform: translate(0, -50%);
                // font-weight: bold;
                i {
                    font-size: 55px;
                }
            }
            .body {
                padding-top: 20px;
                line-height: 30px;
                p {
                    // padding-top:10px;
                }
            }
            p:nth-child(1) {
                font-size: 16px;
            }
            p:nth-child(2) {
                color: #7B7B7B;
                // line-height: 40px;
                margin-bottom: 5px;
            }
            .date {
                font-size: 12px;
                color: #acacac;
                border-top: 1px dashed #ddd;
            }
        }
    }
}
